package com.zjw.service;

import com.zjw.entity.po.User;
import org.apache.ibatis.annotations.Select;

public interface UserService {

    //通过wid查询user对象是否存在
    @Select(" select * from user where wid=#{wid}")
    User selectUserByWid(int wid);

    User selectUserByEmail(String email);

    int updateWidByEmail(Integer wid,String email);

    int updateByPrimaryKeySelective(User record);



}
